package com.shy.collect.mapper;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shy.collect.entity.TradeOrder;
import com.shy.configs.mapping.TradeDayBill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sunhuanyu
 * @description 针对表【trade_order(支付订单表)】的数据库操作Mapper
 * @createDate 2025-01-02 17:06:35
 * @Entity com.shy.entity.TradeOrder
 */
public interface TradeOrderMapper extends BaseMapper<TradeOrder> {
    List<String> selectUserNoList(@Param("beginDate") DateTime beginDate, @Param("endDate") DateTime endDate);

    List<TradeDayBill> selectBillByUserNo(@Param("userNo") String userNo, @Param("beginDate") DateTime beginDate, @Param("endDate") DateTime endDate);

}




